window: Allow _gtk_window_set_allocation to return a modified allocation
authorRob Bradford <rob@linux.intel.com>
Tue, 26 Feb 2013 19:33:04 +0000 (19:33 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 17 Mar 2013 15:28:26 +0000 (11:28 -0400)
commit55a98da4d44117a34cc733c27120e114f7bd7260
tree51126b0ae78b042191ac160ee6e2839d0578d014
parent026d47d909edb98a41039a5af3b1572c99cc7353
window: Allow _gtk_window_set_allocation to return a modified allocation

Update the documentation and users of this function to handle
the future case that that we have some internal decorations to the window and
useable allocation is thus smaller.

By having a separate out parameter there is no need to have an in/out function
and allows for greater robustness.

The current implementation simply returns the allocation provided.
gtk/gtkapplicationwindow.c
gtk/gtkwindow.c
gtk/gtkwindowprivate.h